package com.app.service.impl;

import com.app.dao.yj.YjMapper;
import com.app.domain.yj.YjjlData;
import com.app.domain.yj.YjjlInfo;
import com.app.service.YjService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class YjServiceImpl implements YjService {
    @Autowired
    YjMapper yjMapper;

    @Override
    public List<YjjlInfo> queryYjlInfoPage(String searchIsAll) {
        return yjMapper.queryYjlInfoPage(searchIsAll);
    }

    @Override
    public YjjlInfo queryYjjlInfoById(int id) {
        return yjMapper.queryYjjlInfoById(id);
    }

    @Override
    public List<YjjlData> findYjjlDataByQlbh(String qlbh) {
        return yjMapper.findYjjlDataByQlbh(qlbh);
    }



    @Override
    public void updateYjjlInfo(String status, int id) {
        yjMapper.updateYjjlInfo(status,id);
    }


}
